﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DuncanDAL;

namespace BLL.BaseDictionaryService
{
    public class QueryPayCategoryTransaction:ICommand
    {
        private IList<D_PayCategoryObject> payCategorys;

        public IList<D_PayCategoryObject> PayCategorys
        {
            get { return payCategorys; }
        }

        #region ICommand 成员

        public void Execute()
        {
            PayCategoryDataService objPayCategoryDataService = new PayCategoryDataService();
            payCategorys = objPayCategoryDataService.QueryAll();
        }

        #endregion
    }
}
